import openpyxl as vb

path = '../文件/读取数据.xlsx'
wb = vb.load_workbook(path)

wt = wb["Sheet1"]
"""
移动
"""
# wt.move_range("A1:C3", rows=10, cols=10)

"""
冻结
"""
wt.freeze_panes = "C3"

wb.save(path)
